package com.yihuier.yihuier.Mapper.UserManager;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CustomerMapper {
    @Insert("INSERT INTO bz_customer(customer_name,customer_phonenumber,customer_email,customer_type) VALUES(#{name},#{phoneNumber},#{email},#{type})")
    int insertCustomer(@Param("name") String name, @Param("phoneNumber") String phoneNumber, @Param("email") String email, @Param("type") String type);
}
